//@author A0084176Y
package Main;

import java.util.Vector;

public class Category {
	protected String _name;
	protected Vector<Item> cat_item=new Vector<Item>();
	
	public Category(String n){
		_name=n;
	}
	
	public void addItem(Item i){
		cat_item.add(i);
	}
	
	public void setName(String n){
		_name=n;
	}
	public String getName(){
		return _name;
	}
	public Vector<Item> getCatItem(){
		return cat_item;
	}
}
